/* 字体图标icon */
@font-face {
  font-family: "icomoon";
  src: url("../fonts/icomoon.eot?tomleg");
  src: url("../fonts/icomoon.eot?tomleg#iefix") format("embedded-opentype"),
    url("../fonts/icomoon.ttf?tomleg") format("truetype"),
    url("../fonts/icomoon.woff?tomleg") format("woff"),
    url("../fonts/icomoon.svg?tomleg#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "icomoon" !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-cheveron-down:before {
  content: "\e91e";
}
.icon-cheveron-left:before {
  content: "\e91f";
}
.icon-cheveron-right:before {
  content: "\e920";
}
.icon-cheveron-up:before {
  content: "\e921";
}
.icon-location1:before {
  content: "\e922";
}
.icon-location-current:before {
  content: "\e923";
}
.icon-mic:before {
  content: "\e924";
}
.icon-angellist:before {
  content: "\e900";
}
.icon-apache:before {
  content: "\e901";
  color: #d22128;
}
.icon-bower:before {
  content: "\e90a";
  color: #ef5734;
}
.icon-circleci:before {
  content: "\e90b";
}
.icon-civicrm:before {
  content: "\e90c";
  color: #81c459;
}
.icon-co-op:before {
  content: "\e902";
  color: #00b1e7;
}
.icon-codacy:before {
  content: "\e903";
}
.icon-codeigniter:before {
  content: "\e904";
  color: #ee4623;
}
.icon-codepen:before {
  content: "\e905";
}
.icon-dell:before {
  content: "\e906";
  color: #007db8;
}
.icon-discourse:before {
  content: "\e907";
}
.icon-discover:before {
  content: "\e908";
  color: #ff6000;
}
.icon-baidu:before {
  content: "\e910";
  color: #2319dc;
}
.icon-bitdefender:before {
  content: "\e911";
  color: #ed1c24;
}
.icon-bitly:before {
  content: "\e912";
  color: #ee6123;
}
.icon-campaignmonitor:before {
  content: "\e913";
  color: #509cf6;
}
.icon-cashapp:before {
  content: "\e914";
  color: #00c244;
}
.icon-castorama:before {
  content: "\e915";
  color: #0078d7;
}
.icon-castro:before {
  content: "\e916";
  color: #00b265;
}
.icon-cevo:before {
  content: "\e917";
  color: #1eabe2;
}
.icon-chase:before {
  content: "\e918";
  color: #117aca;
}
.icon-circle:before {
  content: "\e919";
  color: #8669ae;
}
.icon-circleci1:before {
  content: "\e90d";
}
.icon-co-op1:before {
  content: "\e90f";
  color: #00b1e7;
}
.icon-codacy1:before {
  content: "\e90e";
}
.icon-codecademy:before {
  content: "\e91a";
  color: #1f4056;
}
.icon-codeclimate:before {
  content: "\e91c";
}
.icon-codecov:before {
  content: "\e91d";
  color: #f01f7a;
}
.icon-home2:before {
  content: "\e909";
}
.icon-connection:before {
  content: "\e91b";
}
.icon-phone:before {
  content: "\e942";
}
.icon-phone-hang-up:before {
  content: "\e943";
}
.icon-location:before {
  content: "\e947";
}
.icon-location2:before {
  content: "\e948";
}
.icon-search:before {
  content: "\e986";
}
.icon-volume-increase:before {
  content: "\ea2b";
}
.icon-volume-decrease:before {
  content: "\ea2c";
}
.icon-arrow-up2:before {
  content: "\ea3a";
}
.icon-arrow-right2:before {
  content: "\ea3c";
}
.icon-arrow-down2:before {
  content: "\ea3e";
}
.icon-arrow-left2:before {
  content: "\ea40";
}
.icon-mic1:before {
  content: "\e925";
}
.icon-books:before {
  content: "\e926";
}
.icon-cart:before {
  content: "\e93a";
}
.icon-mobile:before {
  content: "\e958";
}
.icon-mobile2:before {
  content: "\e959";
}
.icon-menu:before {
  content: "\e9bd";
}
.icon-loop2:before {
  content: "\ea2e";
}
.icon-circle-up:before {
  content: "\ea41";
}
.icon-circle-right:before {
  content: "\ea42";
}
.icon-circle-down:before {
  content: "\ea43";
}
.icon-circle-left:before {
  content: "\ea44";
}

/* ******************************************** */

.w {
  width: 1200px;
  /* 版心居中对齐 */
  margin: 0 auto;
}

/**********快捷导航栏模块**********/
.shortcut {
  /* height: 31px; */
  line-height: 31px;
  background-color: #f1f1f1;
}

.shortcut-left {
  /* 去掉宽度 让内容撑开盒子 */
  /* width: 250px; */
  /* height: 31px; */
  /* height: 100%    只能继承它的直属上级的高度，亲爹！ */
  /* height: 100%; */
}
.shortcut-left a:nth-child(3) {
  color: #c81623;
}

.shortcut-right {
  /* width: 690px; */
  /* height: 31px; */
}
/* 可以使用行内块来做 */
.shortcut-right ul li {
  float: left;
}
/* 偶数li的样式 */
.shortcut-right ul li:nth-child(even) {
  margin: 0 10px;
}
/* .shortcut-right ul li a:hover i {
  transition: all 0.5s;
  animation: rotate 0.5s linear;
}
@keyframes rotate {
  0% {
    
  }
  100% {
    transform: rotateZ(180deg);
  }
} */

/* **********头部模块********** */
header {
  padding-top: 25px;
  /* background-color: palegreen; */
}

.logo {
  /* width: 175px;
    height: 58px; */
  /* background-color: pink; */
}
.logo a {
  display: block;
  width: 175px;
  height: 58px;
  background: url(../images/logo.png) no-repeat;

  /* 隐藏文字 */
  /* 方法1 */
  /* text-indent: -9999em;
    overflow: hidden; */
  /* 方法2 */
  /* color: transparent; */
  /* 方法3 */
  font-size: 0px;
}

.search {
  width: 538px;
  height: 65px;
  margin-left: 166px;
  /* background-color: skyblue; */
}
.search input {
  float: left;
  width: 458px;
  height: 36px;
  border: 2px solid #b1191a;
  box-sizing: border-box;
}
.search button {
  float: left;
  width: 80px;
  height: 36px;
  font-size: 16px;
  color: white;
  background-color: #b1191a;
}

.search li {
  float: left;
  margin: 5px 10px;
}
.search li:nth-child(1) a {
  color: #c81623;
}

.shopcar {
  position: relative;
  /* width: 140px;
  height: 36px; */
  margin-left: 62px;
  text-align: center;
  /* background-color: orange; */
}
.shopcar a {
  display: block;
  width: 140px;
  height: 36px;
  line-height: 36px;
  border: 1px solid #dfdfdf;
  box-sizing: border-box;
}
.shopcar a i:nth-child(1) {
  color: #c81623;
}
.favorite {
  position: absolute;
  top: -8px;
  right: 22px;
  width: 16px;
  height: 16px;
  color: white;
  background-color: #c81623;
  border-radius: 8px 8px 8px 0;
}

nav {
  /* height: 45px; */
  margin-top: 10px;
  font-size: 16px;
  /* background-color: wheat; */
  text-align: center;
  border-bottom: 2px solid #c81623;
}

.nav-left {
  position: relative;
}
.nav-left h3 {
  width: 209px;
  line-height: 45px;
  font-size: 16px;
  /* height: 45px; */
  margin-right: 40px;
  color: #fff;
  background-color: #b1191a;
}
.nav-left:hover .dropnav {
  display: block;
}
.dropnav {
  /* display: none; */
  position: absolute;
  top: 45px;
  left: 0;
  width: 209px;
  height: 466px;
  background-color: #c81623;
  border-top: 2px solid #c81623;
}

.dropnav a {
  display: block;
  width: 100%;
  /* height: 30px; */
  line-height: 31px;
  font-size: 14px;
  color: white;
  padding: 0 10px;
  /* padding: 5px; */
  text-align: left;
}
.dropnav a:hover {
  background-color: white;
  color: red;
}
.dropnav a i {
  float: right;
  line-height: 31px;
  /* margin-right: 10px; */
}


.nav-right li {
  float: left;
}
.nav-right li a {
  display: block;
  line-height: 45px;
  padding: 0 25px;
}
.nav-right ul li:last-child a {
  font-size: 14px;
}

/* **********尾部模块********** */

footer {
  height: 414px;
  background-color: #f5f5f5;
}

.ft-hd {
  height: 110px;
  border-bottom: 1px solid #dedede;
}
.ft-hd li {
  float: left;
  width: 20%;
  height: 110px;
  padding: 30px;

  /* background-color: royalblue; */
}
.ft-hd li h4 {
  font-size: 14px;
  margin-top: 5px;
}
.ft-hd li div[class^="icon"] {
  float: left;
  width: 50px;
  height: 50px;
  margin-right: 10px;
  /* margin: 10px 10px; */
  background: url(../images/icons.png) no-repeat;
}
.ft-hd ul li .icon1 {
  background-position: -253px -2px;
}
.ft-hd ul li .icon2 {
  background-position: -255px -54px;
}
.ft-hd ul li .icon3 {
  background-position: -256px -105px;
}
.ft-hd ul li .icon4 {
  background-position: -258px -156px;
}
.ft-hd ul li .icon5 {
  background-position: -256px -208px;
}

.ft-bd {
  height: 188px;
  border-bottom: 1px solid #dedede;
}
.ft-bd dl {
  float: left;
  margin: 0 62px;
}
.ft-bd dt {
  margin: 13px 0;
}
.ft-bd dt a {
  font-size: 16px;
}
.ft-bd dl:last-child {
  text-align: center;
}

.ft {
  text-align: center;
}
.ft ul {
  display: inline-block;
  /* text-align: center; */
}
.ft li {
  float: left;
  margin-top: 20px;
  padding: 0 7px;
}
.ft p {
  margin: 5px 0;
}
